//
//  CommentItemCell.h
//  Cycling
//
//  Created by 迟国强 on 2023/4/5.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class RouteCommentModel;
@class RouteDetailModel;

typedef void(^CommentBlock)(RouteCommentModel *model);
typedef void(^CommentNumBlock)(RouteCommentModel *model);

@interface CommentItemCell : UICollectionViewCell

@property (nonatomic, strong) RouteCommentModel *model;
@property (nonatomic, strong) RouteDetailModel *detailModel;
@property (weak, nonatomic) IBOutlet UILabel *userNameL;
@property (weak, nonatomic) IBOutlet UIImageView *userIconL;
@property (weak, nonatomic) IBOutlet UILabel *commentTimeL;
@property (weak, nonatomic) IBOutlet UILabel *commentContentL;
@property (weak, nonatomic) IBOutlet UIButton *commentNumBtn;

@property (weak, nonatomic) IBOutlet UIButton *commentBtn;

@property (nonatomic, copy) CommentBlock block;
@property (nonatomic, copy) CommentNumBlock numBlock;

@end

NS_ASSUME_NONNULL_END
